package com.zyl.blog.tasks.enums;

import lombok.Getter;

/**
 * @version v1.0
 * @ProjectName: Personal_Blog_Server
 * @Package: com.zyl.blog.tasks.enums
 * @ClassName: TaskTriggerMode
 * @Description: 任务触发方式枚举
 * @Author FinalFantasy
 * @Date 2025/8/12-16:21
 */
@Getter
public enum TaskTriggerMode {
    AUTO("自动触发", "系统定时自动执行"),
    MANUAL("手动触发", "用户手动调用执行"),
    RECOVERY("恢复执行", "故障恢复后执行");

    private final String name;
    private final String description;

    TaskTriggerMode(String name, String description) {
        this.name = name;
        this.description = description;
    }
}
